package com.starlink.model.request;

import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("banner请求模型")
public class BannerRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("图片链接")
    private String picture;
    @ApiModelProperty("非自定义时:数据ID,根据ID去查询对应详情")
    private Long articleId;
    @ApiModelProperty("跳转类型:1书籍、2书包、3周边、4星文旅、5星辅育、6星悦会、7星健康、99自定义")
    private Integer urlType;
    @ApiModelProperty("自定义类型时的富文本内容")
    private String richText;
    @ApiModelProperty("排序")
    private Integer sorted;
}
